//
//  WXCarAroundViewController.h
//  CarJX
//
//  Created by xcq on 14-9-19.
//  Copyright (c) 2014年 KK. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MapAnnotationView.h"
#import "WXPopView.h"
 #import "MapPointAnnotion.h"
#import "ConfigDefine.h"
#import "CLUIBaseViewController.h"
#import "WXAddressDetailViewController.h"
#import "CLUIBaseNavigationController.h"
#import "LocationGetObj.h"
  @interface WXCarAroundViewController : CLUIBaseViewController <LocationDelegate,UIActionSheetDelegate,BMKAnnotation,BMKMapViewDelegate,BMKGeoCodeSearchDelegate,BMKRouteSearchDelegate,UITableViewDataSource,UITableViewDelegate>
{

      UIButton *location;
    UIButton *_neiMuBtn;
    __weak IBOutlet UIButton *distanceChange;
    __weak IBOutlet UIButton *serverChange;
     BMKMapView *_mapView;
    BMKOfflineMap *_mapOfflineMap;
    UIView *mapViewTemp;
    LocationGetObj *_location;
    MapPointAnnotion *_point;
    WXPopView *_popview;
    BMKRouteSearch* _routesearch;
    CLLocationCoordinate2D _roundSearchCoor;
    CLLocationCoordinate2D _coordinate;
    NSArray *ViaPoint;
    NSMutableArray *carAddresPoint;
    BMKPolyline* polyLine;
    MapPointAnnotion *point;
    MapPointAnnotion *point2;
    CGRect originalLocation;
    CGRect originalLocationNeimu;
    CGRect originalLocationDaoHang;
     
    
}
@property(nonatomic,strong)NSString *keyWord;

@property (weak, nonatomic) IBOutlet UIButton *checkDetailBtn;

 #pragma mark map Catagory
@property (weak, nonatomic) IBOutlet UIView *mapViewBar;
@property (weak, nonatomic) IBOutlet UILabel *shopDetail;
@property (weak, nonatomic) IBOutlet UIButton *mapBarBtn_one;
@property (weak, nonatomic) IBOutlet UIButton *mapBarBtn_two;
@property (weak, nonatomic) IBOutlet UIButton *mapBarBtn_three;

@property (weak, nonatomic) IBOutlet UIButton *mapBarBtn_four;

- (IBAction)mapBarBtn_one:(id)sender;

- (IBAction)mapBarBtn_two:(id)sender;
- (IBAction)mapBarBtn_three:(id)sender;
- (IBAction)mapBarBtn_four:(id)sender;

@property (nonatomic , retain) NSString *requstClass;
@property (weak, nonatomic) IBOutlet UIView *backView;
@property(strong,nonatomic) NSString *serverType;   //我传进来的服务类型
@property(strong,nonatomic) NSString *Navtitle;
@property(strong,nonatomic) NSString *keyString1;    //外面传进来得周边搜索关键字
@property (weak, nonatomic) IBOutlet UIView *smallView;
@property(nonatomic ,strong)NSDictionary *roadHelpDic;   //路救传进来的坐标

- (instancetype)initWithNSString:(NSString *)keyStr;
- (IBAction)keyboardChange:(id)sender;

@property (weak, nonatomic) IBOutlet UIButton *fabuxuqiuBtn;
//百度周边搜索
- (void)BmkPoiSearch:(NSString *)key;
- (void)muneClickAction:(NSString *)serverType andTitle:(NSString *)title;
@end
